home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Programming / powerd / lib / chunky.lha / chunky / FillChunky32.ass < prev    next >
Encoding:
Text File  |  1980-01-24  |  211 b   |  14 lines

  1. ; FillChunky32(dst:a0:PTR TO chunky,colour:d0:LONG)
  2.  
  3.     machine    mc68020
  4.  
  5.     xdef    _FillChunky32
  6. _FillChunky32
  7.     move.l    (4,a0),d1
  8.     muls.l    (a0),d1
  9.     move.l    (8,a0),a1
  10. .loop    move.l    d0,(a1)+
  11.     subq.l    #1,d1
  12.     bgt.s    .loop
  13.     rts
  14.